package Code.Day0_20240916;

/**
 * @ClassName VariableDemo1
 * @Description 变量Demo
 * @Author 12994
 * @Date 2024/9/17 0:44
 * @Version 1.0
 **/
public class VariableDemo1 {
    public static void main(String[] args) {
        int a = 10, b = 20, c, d;
        System.out.println(a);
        c = 30;
        d = 40;
        System.out.println(a + b + c + d);

        System.out.println("-------------");

        int y = 'y'; // y -> ASCII
        System.out.println(y);
        double z = 'z'; // z -> ASCII
        System.out.println(z);
    }
}
